package com.example.service;

import com.example.pojo.User;

import java.util.List;

/**
 * @program: springboot_course
 * @description:
 * @author: ChenZhiXiang
 * @create: 2019-06-12 17:37
 **/
public interface UserService {

    void delete(Integer id);

    User update(User user);

    User findById(Integer id);

    List<User> getUserList();

    int save(User user);
}
